export const RegexInput = {
  regCode(s) {
    const flag = /^\d{20}$/.test(s)
    return flag
  },
  safeCode(s) {
    const flag = /^\d{6}$/.test(s)
    return flag
  }
}

export default RegexInput
